<?php
    /**
     * Created by PhpStorm.
     * User: huangzhongwei
     * Date: 2018/11/6
     * Time: 15:24
     */

    namespace app\api\validate;


    class ChangeRunningManState extends BaseValidate
    {

        protected $rule = [
            'id'    => 'require|isPositiveInteger',
            'state' => 'require|in:1,2,3',

        ];

        protected $message = [
            'id'            => '用户id错误',
            'state.require' => "性别不能为空",
            'state.in'      => "状态格式错误",

        ];

    }